package com.amkor.web.ldap.dao;

import javax.naming.NamingException;
import javax.naming.directory.InitialDirContext;

public abstract class AbstractJndiATILdapSupport extends AbstractJndiLdapSupport {
	protected String userId = "";
	protected String passwd = "";
	protected static String LDAP_DOMAIN = "LDAP://chazlds02.amkor.com:389/";
	
	@Override
	protected void initDirContext() throws NamingException {
		this.dirContext = new InitialDirContext(getEnv(String userId, String passwd));
	}
	@Override
	protected void closeDirContext() throws NamingException {
		if(dirContext != null)	this.dirContext.close();
	}
	
}
